package com.shirojwt.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shirojwt.entity.Account;
import com.shirojwt.mapper.AccountMapper;
import com.shirojwt.service.AccountService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author chenguo
 * @date 2021/10/12 10:35 上午
 */
@Service
public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> implements AccountService {
    @Resource
    AccountMapper accountMapper;
    @Override
    public Account findByUsername(String username) {
        return accountMapper.findByUsername(username);
    }
}
